package com.be.beadmin.quality.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-05-18
 * @Description 检验表模板
 */
@Data
@Entity
@Table(name = "T_QM_InspectionTemplate")
public class InspectionTemplate extends BaseEntity {

    @Column(name = "ProcessId", columnDefinition = "VARCHAR(50) COMMENT '工序id' ")
    private String processId;

    @Column(name = "ProcessName", columnDefinition = "VARCHAR(500) COMMENT '工序名称' ")
    private String processName;

    @Column(name = "ProcessCode", columnDefinition = "VARCHAR(50) COMMENT '工序编码' ")
    private String processCode;

    @Column(name = "ProductType", columnDefinition = "VARCHAR(50) COMMENT '柜体类型' ")
    private String productType;

    @Column(name = "IsUse", columnDefinition = "VARCHAR(50) COMMENT '模板是否在用0/1' ")
    private String isUse;

    @Column(name = "Name", columnDefinition = "VARCHAR(50) COMMENT '模板名称' ")
    private String name;

    @Column(name = "Type", columnDefinition = "VARCHAR(50) COMMENT '类别' ")
    private String type;

    @Column(name = "Vision", columnDefinition = "VARCHAR(50) COMMENT '版本号' ")
    private String vision;

    @Column(name = "State", columnDefinition = "VARCHAR(50) COMMENT '是否发布0/1' ")
    private String state;

    @Column(name = "PublishTime", columnDefinition = "datetime COMMENT '发布日期' ")
    private Date publishTime;

    @Column(name = "DeleteTime", columnDefinition = "datetime COMMENT '删除日期' ")
    private Date deleteTime;

    @Column(name = "Memo", columnDefinition = "text COMMENT '备注' ")
    private String memo;
}
